import {createApp} from "vue";
import {createPinia} from 'pinia';
import App from './App.vue';
import router from './router';
import {i18n} from './i18n';
import vSizeOb from './directives/vSizeOb';

const app = createApp(App);

// 给 app 添加一个自定义指令
app.directive('size-ob', vSizeOb);

app.use(createPinia());
app.use(router);
app.use(i18n);
app.mount('#app');
